package com.example.teachingSystem.service;

import com.example.teachingSystem.pojo.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teachingSystem.utils.result.Result;

import java.util.List;

/**
* @author 86147
* @description 针对表【permission(权限表)】的数据库操作Service
* @createDate 2023-11-27 21:43:54
*/
public interface PermissionService extends IService<Permission> {
    Result<String> changePermToOpen(Long id);

    Result<String> changePermToClose(Long id);

    Result<List<Permission>> getPermission();
}
